package cn.kgc.reflect;

import cn.kgc.annotation.Bean;
import cn.kgc.annotation.Value;

/**
 * @author: mosin
 * @version: v1.0  2022/10/21
 */
@Bean(name = "tom",value = "jack")
public class Person {

    @Value("xiaohua")
    private  String personName;
    public  Integer personAge;

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public Integer getPersonAge() {
        return personAge;
    }

    public void setPersonAge(Integer personAge) {
        this.personAge = personAge;
    }


    private String test(){

        return "";
    }

    @Override
    public String toString() {
        return "Person{" +
                "personName='" + personName + '\'' +
                ", personAge=" + personAge +
                '}';
    }
}
